package com.yyj1205.jsongenrator.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Title: ErineBotConfig
 * @Author yyj1205
 * @Package com.yyj1205.jsongenrator.config
 * @Date 2024-09-22 20:27
 * @description:
 */
@Component
@Data
public class ErineBotConfig {
    @Value("${JsonGenerator.enabled}")
    boolean enabled;
    @Value("${JsonGenerator.appkey}")
    String appKey;
    @Value("${JsonGenerator.secretkey}")
    String secretKey;
    @Value("${JsonGenerator.tokenuri}")
    String tokenuri;
    @Value("${JsonGenerator.instanceuri}")
    String instanceuri;
    @Value("${JsonGenerator.maxmsglength}")
    int maxMsgLength;
    @Value("${JsonGenerator.param.temperature}")
    float temperature;
    @Value("${JsonGenerator.param.top-p}")
    float top_p;
    @Value("${JsonGenerator.param.penalty-score}")
    float penalty_score;
    @Value("${JsonGenerator.param.system}")
    String system;
    @Value("${JsonGenerator.param.disable_search}")
    boolean disable_search;
    @Value("${JsonGenerator.param.max-output-token}")
    int max_output_token;
    @Value("${JsonGenerator.param.response_format}")
    String response_format;
    @Value("${JsonGenerator.file.path.base}")
    String base_path;
}
